import $http from './index.js'

export const getData = $http.get('https://jsonplaceholder.typicode.com/posts')

export const login = (data) => {
  return  $http.get('https://jsonplaceholder.typicode.com/posts', data)
}